package com.zt.java.proxy;

public class OneInterceptor extends AbstractInterceptorHander {

    public OneInterceptor() {
    }

    public OneInterceptor(AbstractInterceptorHander nextHandLer) {
        super(nextHandLer);
    }

    @Override
    public void doBefore() {
        System.out.println("给香蕉剥皮");
    }

    @Override
    public void doAfter() {
        System.out.println("扔掉香蕉皮");
    }
}
